package com.leo.blog.entity;

import java.util.Date;

public class Blog {
	//id
	private int blogId;
	//博客标题
	private String blogTitle;
	//博客简介/摘要
	private String blogIntroduction;
	//关键词
	private String keyWord;
	//封面缩略图
	private String blogImage;
	//博客内容
	private String blogContent;
	//点击量
	private int clickNum;
	//评论量
	private int commentNum;
	//点赞量
	private int agreeNum;
	//置顶
	private int isTop;
	//博主推荐
	private int isRecommend;
	//发表状态 -1:草稿    1:正文    2:回收站
	private int status;
	//更改时间
	private Date updateTime;
	//创建时间
	private Date createTime;
	//博客类型
	private BlogType blogType;
	//博主
	private Bloger bloger;
	
	//查询条件
	private String startTime;
	private String endTime;
	
	public int getBlogId() {
		return blogId;
	}
	public void setBlogId(int blogId) {
		this.blogId = blogId;
	}
	public String getBlogTitle() {
		return blogTitle;
	}
	public void setBlogTitle(String blogTitle) {
		this.blogTitle = blogTitle;
	}
	public String getBlogIntroduction() {
		return blogIntroduction;
	}
	public void setBlogIntroduction(String blogIntroduction) {
		this.blogIntroduction = blogIntroduction;
	}
	public String getKeyWord() {
		return keyWord;
	}
	public void setKeyWord(String keyWord) {
		this.keyWord = keyWord;
	}
	public String getBlogImage() {
		return blogImage;
	}
	public void setBlogImage(String blogImage) {
		this.blogImage = blogImage;
	}
	public String getBlogContent() {
		return blogContent;
	}
	public void setBlogContent(String blogContent) {
		this.blogContent = blogContent;
	}
	public int getClickNum() {
		return clickNum;
	}
	public void setClickNum(int clickNum) {
		this.clickNum = clickNum;
	}
	public int getCommentNum() {
		return commentNum;
	}
	public void setCommentNum(int commentNum) {
		this.commentNum = commentNum;
	}
	public int getAgreeNum() {
		return agreeNum;
	}
	public void setAgreeNum(int agreeNum) {
		this.agreeNum = agreeNum;
	}
	public int getIsTop() {
		return isTop;
	}
	public void setIsTop(int isTop) {
		this.isTop = isTop;
	}
	public int getIsRecommend() {
		return isRecommend;
	}
	public void setIsRecommend(int isRecommend) {
		this.isRecommend = isRecommend;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public BlogType getBlogType() {
		return blogType;
	}
	public void setBlogType(BlogType blogType) {
		this.blogType = blogType;
	}
	public Bloger getBloger() {
		return bloger;
	}
	public void setBloger(Bloger bloger) {
		this.bloger = bloger;
	}
	public String getStartTime() {
		return startTime;
	}
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	
	
	
}
